#ifndef AGENT_H
#define AGENT_H


#include "State/state.h"
#include "State/s0.h"
#include "State/s1.h"

class Agent
{
public:
    Agent();
    ~Agent();

private:
    void setSelfState(State *p);

private:
    State *pState;
    S0 *pS0;
    S1 *pS1;
    friend class S0;
    friend class S1;

    string local_str;
    int local_g;
public:
    void t1();
    void t2(string str);
    void t3(int g);
};

#endif // AGENT_H
